﻿using System;

namespace LibMSNP.MSNPProtocol
{
    public enum MSNPCommandType
    {
        //PAYLOAD COMMANDS
        QRY,
        PAG,
        NOT,
        MSG,
        //AsyncCommands
        NLN,
        FLN,
        BPR,
        ADD,
        REM,
        //OTHER COMMANDS
        SYN,
        ILN,
        VER,
        //INTERNAL VALUE ONLY
        INVALID_COMMAND_TYPE
    }

    public enum MSNPErrorCommands
    {
        INVALID_SYNTAX = 200,
        INVALID_PARAMETER = 201,
        INVALID_PRINCIPAL = 205,
        MISSING_DOMAIN_NAME = 206,
        ALREADY_LOGGED_IN = 207,
        INVALID_PRINCIPAL_NAME = 208,
        NICKNAME_CHANGE_ILLEGAL = 209,
        PRICIPAL_LIST_FULL = 210,
        PRINCIPAL_ALREADY_ON_LIST = 215,
        PRINCIPAL_NOT_ON_LIST = 216,
        PRINCIPAL_NOT_ONLINE = 217,
        ALREADY_IN_MODE = 218,
        PRINCIPAL_IN_OPPOSITE_LIST = 219,
        TOO_MANY_GROUPS = 223
    }
}